﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsvHelper.Configuration;

namespace RoardersAgentSim.CSVUtils.CSVMapping
{
	/// <summary>
	/// link mapping
	/// </summary>
	public class LinkMapping
	{
		/// <summary>
		/// source node id
		/// </summary>
		public string SourceNode { get; set; }
		/// <summary>
		/// destination node id
		/// </summary>
		public string DestinationNode { get; set; }
		/// <summary>
		/// link length
		/// </summary>
		public double Length { get; set; }
		/// <summary>
		/// compromise zone = {SOURCE/DESTINATION}
		/// determine which zone to choose whether the source node is in a different zone than the destination node
		/// </summary>
		public string CompromiseZone { get; set; }
		/// <summary>
		/// maximum speed of link
		/// </summary>
		public double Vmax { get; set; }
		/// <summary>
		/// Type of the link
		/// </summary>
		public string Type { get; set; }
		/// <summary>
		/// Speed density relation
		/// </summary>
		public int Rho { get; set; }
		/// <summary>
		/// Nominal capacity of the link
		/// </summary>
		public double NominalCapacity { get; set; }
		/// <summary>
		/// capacity of link considering earthquake damage
		/// </summary>
		public double DamageCapacity { get; set; }



	}
}
